import org.apache.ibatis.annotations.Param;
import pojo.User;

import java.util.List;
/**
 * @author Administrator
 */
public interface UserMapper {
    List<User> selectAll();

    int saveUser(User user);

    List<User> checkLogin(@Param("account") String account,@Param("password")String password);

    int deleteUser(String account);

    int updateUser(User user);

    User selevtUserbyAccount(String account);

    List<String> selectAccount(String name);

}
